//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_jet_service_facnet.sqf"
#include "x_setup.sqf"

if (__XJIPGetVar(GVAR(jet_serviceH))) then {
	private ["_element", "_pos", "_dir", "_fac"];
	if (GVAR(string_player) in GVAR(is_engineer) || {GVAR(with_ai)} || {GVAR(with_ai_features) == 0}) then {[0] spawn FUNC(XFacAction)};
	/*_element = GVAR(aircraft_facs) select 0;
	_pos = _element select 0;
	_dir = _element select 1;
	_fclass = "Land_vez_ruins";
	_fac = _fclass createVehicleLocal _pos;
	_fac setDir _dir;
	_fac setPos _pos;*/
};